<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class Insert</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name">Class Insert</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
													<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
						|											<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
					</div>
	<div class="info-box-body">
                <p class="implements">
            Implements interfaces:
            <ul>
                <li><a href="../Command/Command.html">Command</a></li>            </ul>
        </p>
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The InsertChar command</p>
<p class="description"><p>The InsertChar command</p></p>
	<ul class="tags">
				<li><span class="field">author:</span> wassim Chegham &amp; hugo Marchadour</li>
				<li><span class="field">version:</span> 0.1</li>
			</ul>
		<p class="notes">
			Located in <a class="field" href="_Insert.php.html">/Insert.php</a> (line <span class="field"><a href="../__filesource/fsource_Command__Insert.php.html#a26">26</a></span>)
		</p>
		
				
		<pre></pre>
	
			</div>
</div>



	<a name="sec-var-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Variable Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
						<span class="disabled">Vars</span> (<a href="#sec-vars">details</a>)
							| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
								</div>
		<div class="info-box-body">
			<div class="var-summary">
																																																																<div class="var-title">
					<span class="var-type">Integer</span>
					<a href="#$crtime" title="details" class="var-name">$crtime</a>
				</div>
																<div class="var-title">
					<span class="var-type">String</span>
					<a href="#$insert_hash" title="details" class="var-name">$insert_hash</a>
				</div>
																<div class="var-title">
					<span class="var-type">String</span>
					<a href="#$receiver_hash" title="details" class="var-name">$receiver_hash</a>
				</div>
																<div class="var-title">
					<span class="var-type">String</span>
					<a href="#$sender_hash" title="details" class="var-name">$sender_hash</a>
				</div>
																<div class="var-title">
					<span class="var-type"><a href="../Command/Buffer.html">Buffer</a></span>
					<a href="#$_receiver" title="details" class="var-name">$_receiver</a>
				</div>
																<div class="var-title">
					<span class="var-type"><a href="../Observer/Ihm.html">Ihm</a></span>
					<a href="#$_sender" title="details" class="var-name">$_sender</a>
				</div>
											</div>
		</div>
	</div>

	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
																		<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
				 
				|
						<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																																				
												<div class="method-definition">
											<span class="method-result">Insert</span>
										<a href="#__construct" title="details" class="method-name">__construct</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">&$sender</span>, <span class="var-type"></span>&nbsp;<span class="var-name">&$receiver</span>, <span class="var-type"><a href="../Observer/Ihm.html">Ihm</a></span>&nbsp;<span class="var-name">$sender</span>, <span class="var-type"><a href="../Command/Buffer.html">Buffer</a></span>&nbsp;<span class="var-name">$receiver</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#execute" title="details" class="method-name">execute</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../Command/Buffer.html">Buffer</a></span>
										<a href="#getReceiver" title="details" class="method-name">&amp;getReceiver</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../Observer/Ihm.html">Ihm</a></span>
										<a href="#getSender" title="details" class="method-name">&amp;getSender</a>
										()
									</div>
								</div>
		</div>
	</div>		

	<a name="sec-vars"></a>
	<div class="info-box">
		<div class="info-box-title">Variables</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
										<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>)
						
			
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			<a name="var$crtime" id="$crtime"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">Integer</span>
			<span class="var-name">$crtime</span>
						(line <span class="line-number"><a href="../__filesource/fsource_Command__Insert.php.html#a45">45</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">var:</span> The time when this object is created</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	
		
		

</div>
<a name="var$insert_hash" id="$insert_hash"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">String</span>
			<span class="var-name">$insert_hash</span>
						(line <span class="line-number"><a href="../__filesource/fsource_Command__Insert.php.html#a51">51</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">var:</span> The unique hash of this object</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	
		
		

</div>
<a name="var$receiver_hash" id="$receiver_hash"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">String</span>
			<span class="var-name">$receiver_hash</span>
						(line <span class="line-number"><a href="../__filesource/fsource_Command__Insert.php.html#a57">57</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">var:</span> The unique hash of the receiver object</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	
		
		

</div>
<a name="var$sender_hash" id="$sender_hash"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">String</span>
			<span class="var-name">$sender_hash</span>
						(line <span class="line-number"><a href="../__filesource/fsource_Command__Insert.php.html#a63">63</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">var:</span> The unique hash of the sender object</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	
		
		

</div>
<a name="var$_receiver" id="$_receiver"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type"><a href="../Command/Buffer.html">Buffer</a></span>
			<span class="var-name">$_receiver</span>
						(line <span class="line-number"><a href="../__filesource/fsource_Command__Insert.php.html#a33">33</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">var:</span> The object receiver of the Cut command (the Buffer)</li>
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$_sender" id="$_sender"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type"><a href="../Observer/Ihm.html">Ihm</a></span>
			<span class="var-name">$_sender</span>
						(line <span class="line-number"><a href="../__filesource/fsource_Command__Insert.php.html#a39">39</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">var:</span> The object sender of the Cut command (the Ihm)</li>
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
						
		</div>
	</div>
	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
															<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
																	<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>

<a name="method__construct" id="__construct"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">Constructor __construct</span> (line <span class="line-number"><a href="../__filesource/fsource_Command__Insert.php.html#a76">76</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The constructor of the Insert command</p>
<p class="description"><p>The constructor of the Insert command</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">Insert</span>
		<span class="method-name">
			__construct
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">&$sender</span>, <span class="var-type"></span>&nbsp;<span class="var-name">&$receiver</span>, <span class="var-type"><a href="../Observer/Ihm.html">Ihm</a></span>&nbsp;<span class="var-name">$sender</span>, <span class="var-type"><a href="../Command/Buffer.html">Buffer</a></span>&nbsp;<span class="var-name">$receiver</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"><a href="../Observer/Ihm.html">Ihm</a></span>
				<span class="var-name">$sender</span><span class="var-description">: The Ihm object from where to get the character to be inserted</span>			</li>
					<li>
				<span class="var-type"><a href="../Command/Buffer.html">Buffer</a></span>
				<span class="var-name">$receiver</span><span class="var-description">: The Buffer object where to insert the current character</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">&$sender</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">&$receiver</span>			</li>
				</ul>
		
			
	</div>
<a name="methodexecute" id="execute"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">execute</span> (line <span class="line-number"><a href="../__filesource/fsource_Command__Insert.php.html#a95">95</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Perfome the insert action</p>
<p class="description"><p>Perfome the insert action</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			execute
		</span>
				()
			</div>
	
		
				<hr class="separator" />
		<div class="notes">Implementation of:</div>
			<dl>
			<dt><a href="../Command/Command.html#methodexecute">Command::execute()</a></dt>
						<dd>Execute the command of the current command</dd>
					</dl>
			
	</div>
<a name="methodgetReceiver" id="getReceiver"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">getReceiver</span> (line <span class="line-number"><a href="../__filesource/fsource_Command__Insert.php.html#a128">128</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Get the current receiver</p>
<p class="description"><p>Get the current receiver</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> The current receiver of the Insert command</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../Command/Buffer.html">Buffer</a></span>
		<span class="method-name">
			&amp;getReceiver
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetSender" id="getSender"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">getSender</span> (line <span class="line-number"><a href="../__filesource/fsource_Command__Insert.php.html#a137">137</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Get the current sender</p>
<p class="description"><p>Get the current sender</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> The current sender of the Insert command</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../Observer/Ihm.html">Ihm</a></span>
		<span class="method-name">
			&amp;getSender
		</span>
				()
			</div>
	
		
			
	</div>
						
		</div>
	</div>


	<p class="notes" id="credit">
		Documentation generated on Fri, 03 Dec 2010 16:49:30 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
	</p>
	</div></body>
</html>